using UnityEngine;
using System.Collections;

public class DestroyNormal : MonoBehaviour {

	public ScoreKeeper keeper;
	public GameObject FailBottom;
	//public GameObject platform2;
	//public GameObject platform3;
	//public GameObject bomb;
	// Use this for initialization
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update () {
	
	}

	public void OnCollisionEnter(Collision collision)
	{
		if(collision.rigidbody)
		{
			Destroy(gameObject);
			ScoreKeeper.scores += 30;
		}
		
	
	}
}
